Slicot Drives Tractors! 1

نویسندگان

  • Peter Benner
  • Heike Fa bender
چکیده

We describe the successful application of a SLICOT subroutine in a control engineering problem. Based on GPS data it is possible to automatically steer farm vehicles along a prescribed trajectory. The bottleneck for the successful on-line implementation of a LQG regulator is the numerical solution of a discrete-time algebraic Riccati equation in real-time and at high accuracy. This is achieved employing a Fortran 77 subroutine from the Subroutine Library in Control Theory | SLICOT. 1 Motivation In control engineering applications, the numerical solution of one of the fundamental matrix equations of linear control theory often causes a bottleneck for its successful realization. Here we will describe one such application, the automatic steering of a farm tractor, in which this situation occurs. By using a SLICOT subroutine, the problem is resolved, i.e., the used subroutine yields a numerical solution with su cient accuracy and in due time. Through the development of ever more cheap and reliable GPS (Global Positioning System) receivers, automatic steering of ground vehicles along prescribed trajectories has become an attractive research topic for several reasons: hazardous operations can be performed without risking human life, cars may be automatically piloted to the desired destination (\smart highways" { an ongoing research project for several decades), maneuvering at high precision, etc. One of the rst elds of application are vehicles used for farming on the large elds of Northern America. As farm vehicles usually move at moderate speed and agricultural elds usually are ideal in order to operate GPS properly as nothing blocks the GPS signals, they are among the rst ones for which such a technology becomes feasible for industrial application. We will describe a project realized by the GPS Lab at the Department of Aeronautics and Astronautics of Stanford University (USA). The project has been supported by Deere and Company and it is hoped that John Deere tractors equipped with the developed technology will soon go into production at Deere and Company. The research team at Stanford has realized a control mechanism for automatic steering of a farm tractor. Though on rst glimpse, this may not seem to be of major interest, there are several reasons why such a system may be desirable. On the large elds in the Midwest of the USA or Canada, tractor driving gets extremely boring. It is reported that drivers even fall asleep, causing signi cant damage by getting o track and thereby destroying many rows of crops or hoses for watering the elds. Even drivers awake may not be able to drive at necessary precision level to avoid crossing the watering hoses. As other trajectories than \back-and-forth, using U-turns" are di cult for manual drivers, automatic steering would make it possible to steer optimal patterns (e.g., spiral patterns). GPS{based controllers might enable a single driver to operate a convoy of several tractors at the same time or it could allow farmers to operate during the night, through heavy dust or fog. While a tractor driving automatically could be controlled from an o ce, there are also other reasons to free the farmer from driving. On large elds usually the soil conditions and other factors vary. It is therefore desirable to adapt bedding, seeding, fertilizing, cultivating, and irrigation to these variations and thereby minimizing the use of herbicides and pesticides while maximizing the crop. The manual adaption of these tasks is facilitated if the farm vehicle is steered automatically. Eventually, these adaptions may even be executed automatically as well. 2 Ground position determination The approach taken in this project is to rst measure the eld and record every obstacles to be avoided like, e.g., watering devices, and then to program the tractor to follow a prescribed path. As deviations from the path are unavoidable, a regulator using reference tracking needs to 1 be implemented in order to keep the tractor \on track". Therefore the knowledge of the exact location of the driving tractor is required to regulate the driven trajectory. This has become possible by using GPS. The Global Positioning System1 is a constellation of 24 satellites circling the Earth every 12 hours. Using standard geodetic methods it is possible to locate your position on earth by receiving the signals (position and time) of at least three (in theory | in practise at least four are necessary) satellites [15]. Since this system has been made available for civilian use it has found many applications from aviation to wilderness expeditions. Hand-held GPS receivers are now even available for outdoor camping. A precision of about 100 yards as attained by normal civilian GPS receivers is of course not su cient for the application described here. Therefore, a high precision GPS-based system, called Carrier Phase Di erential GPS (CDGPS), has been used here [7, 8, 10, 14]. CDGPS requires ground based local transmitters, called pseudolites. With this technology, it is possible to obtain position and attitude at centimeter-level and 0:1 accuracy. The technology has been made feasible for use in farming by reducing the number of necessary pseudolites for initializing the CDGPS to only one [13]. The research group at Stanford University has equipped the John Deere 7800 farm tractor shown in Figure 12 with such a CDGPS receiver. This has then been used for system identi cation and automatic control of the tractor [3, 7, 8, 11, 12, 14]. Here we will focus on the automatic control aspect. We will describe the model used to to design the controller for the tractor in the next section. Figure 1: GPS{equipped tractor. 1The system is operated by the U.S. Department of Defense. 2Taken from [12]. 2 3 Automatic control of a farm tractor The state-space model used for simulating the tractor movement is derived from the nonlinear equations of motion; see [3, 10]. The relevant variables are shown in Figure 23. The desired trajectory is part of the prescribed path to be followed by the tractor; d is the distance from the center of the rear axle of the tractor (which is the reference point) to the closest point on the reference trajectory, is the yaw angle of the tractor relative to the desired trajectory, is the front wheel angle relative to the centerline of the tractor, and l is the distance from the front wheels to the reference point. Linearization of the equations of motion and removing Figure 2: State space variables. redundancies yields a continuous, fth-order linear time-invariant (LTI) system in state-space form, _ x = Ax+Bu; (1) y = Cx; (2) where the states are x = [ ; _ ; ; _ ; d ]T and A = 26666664 0 1 0 0 0 0 1 V l 0 0 0 0 0 1 0 0 0 0 1 u 0 V 0 0 0 0 37777775 ; B = 2666664 0001 u 0 3777775 ; C = 264 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 375 : 3Taken from [3]. 3 Here, V is the forward velocity of the tractor while and u are parameters which whereidenti ed using experimental data. The speci cation of trajectories and generation of referencestates is described in detail in [3].For the closed-loop control of the tractor, a discrete-time linear-quadratic Gaussian (LQG)regulator is used consisting of a linear-quadratic optimal control with reference state tracking[1] and a Kalman lter for estimating the states [4]. The disturbances (sensor noise/processnoise) were modeled based on experimental data. The conversion between the continuous plantdynamics and GPS on the one side and the discrete LQG regulator on the other side wasperformed assuming zero-order hold on the inputs. The block diagram of the closed-loop systemis shown in Figure 34.Figure 3: Block diagram of LQG regulator.The control gains are obtained using the standard Riccati approach, i.e., via the stabilizingsolution of the discrete-time algebraic Riccati equation (DARE)X = CTQC +ATXA ATXB(R+BTXB) 1BTXA;(3)where A;B;C are as in (1){(2) while Q and R are the weighting matrices for state deviationsfrom nominal and control inputs, respectively, in the quadratic cost functional to be minimized(see, e.g., [1, 4]). For satisfactory regulation results, a DARE of the form (3) has to be solvedto high accuracy ve times per second. This turns out to be the bottleneck for the realizationof an automatic controlled farm tractor as all other necessary computations (matrix adds andmultiplies, solution of linear systems, etc.) can be performed su ciently fast on the availablehardware. (The tractor is equipped with a 100MHz Pentium{PC.)In a rst approach the control gains were calculated withMatlab5 using gain-scheduling onforward velocity. The computed gains were uploaded to the computer on board of the tractor.4Taken from [14].5Matlab is a registered trademark of The MathWorks, Inc.4 The controller then switched between various gains based on the velocity V . Employing theSLICOT subroutine SB02MD6 which provides an implementation of the Schur vector methodfor solving (3) (see [9]), it is now possible to compute the control gains on-line. The DARE issolved in roughly 5% of the 200msec sampling time which gives plenty of time for doing the othernecessary calculations. Having the ability to solve the DARE in real time now means that onecan use information from an on-line adaptive identi cation algorithm to actually improve thecontrol going along. Before SB02MD was used, a xed model had to be assumed and changingconditions could not be incorporated into the control law [2].4 Concluding remarksThe GPS-based control strategy described in this article can be used for other land vehicles,and, using a slightly more complex CDGPS even for autolanding of planes; see, e.g., [5, 6].The application described in this article demonstrates how the use of robust numerical soft-ware provided in SLICOT can enable control engineers to realize innovative ideas and to makethem available for production processes.References[1] B.D.O. Anderson and J.B. Moore. Optimal Control { Linear Quadratic Methods. Prentice-Hall, Englewood Cli s, NJ, 1990.[2] T. Bell. Personal communication, January 1999.[3] T. Bell, M. O'Conner, V.K. Jones, A. Rekow, G. Elkaim, and B. Parkinson. Realisiticautofarming: Closed-loop tractor control over irregular paths using kinematic GPS. De-partment of Aeronautics and Astronautics, Stanford University, Stanford, USA, November1997.[4] A.E. Bryson and Y.C. Ho. Applied Optimal Control. Hemisphere Publ. Co., Washington,1975.[5] C.E. Cohen, M. Pervan, D. Lawrence, S. Cobb, D. Powell, and B. Parkinson. Real-timeight testing using integrity beacons for GPS category III precision landing. Navigation,41(2):145{157, 1994.[6] C.E. Cohen, M. Pervan, D. Lawrence, S. Cobb, D. Powell, and B. Parkinson. Autolandinga 737 using GPS integrity beacons. Navigation, 42(3):467{486, 1995.[7] G. Elkaim, M. O'Conner, T. Bell, and B. Parkinson. System identi cation of a farm vehicleusing carrier-phase di erential GPS. In Proc. ION GPS-96, pages 485{494, Kansas City,MO, September 1996.6See ftp://wgs.esat.kuleuven.ac.be/pub/WGS/SLICOT/doc/SB02MD.html for more details.5 [8] G. Elkaim, M. O'Conner, T. Bell, and B. Parkinson. System identi cation of a farm vehicleusing carrier-phase di erential GPS. In Proc. ION GPS-97, Kansas City, MO, September1997.[9] A.J. Laub. A Schur method for solving algebraic Riccati equations. IEEE Trans. Automat.Control, AC-24:913{921, 1979.[10] M. O'Conner. Carrir-Phase Di erential GPS for Automatic Control of Land Vehicles. PhDthesis, Stanford University, 1997.[11] M. O'Conner, T. Bell, G. Elkaim, and B. Parkinson. Kinematic GPS for closed-loop controlof farm and construction vehicles. In Proc. ION GPS-95, pages 1261{1268, Palm Springs,CA, September 1995.[12] M. O'Conner, T. Bell, G. Elkaim, and B. Parkinson. Automatic steering of farm vehiclesusing GPS. In 3rd Intl. Conf. Precision Agriculture, Minneapolis, MN, June 1996.[13] M. O'Conner, T. Bell, G. Elkaim, and B. Parkinson. Real-time CDGPS initialization forland vehicles using a single pseudolite. In Proc. ION National Technical Meeting, pages717{724. Institute of Navigation, January 1997.[14] M. O'Conner, G. Elkaim, and B. Parkinson. Carrier-phase DGPS for closed-loop controlof farm and construction vehicles. NAVIGATION, Journal of the Instititute of Navigation,43(2):167{178, 1996.[15] G. Strang and K. Borre. Linear Algebra, Geodesy, and GPS. Wellesley{Cambridge Press,Wellesley, MA, 1997.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

SLICOT Working Note 2009-1 The SLICOT Toolboxes a Survey

SLICOT is a comprehensive numerical software package for control systems analysis and design. While based on highly performant Fortran routines, Matlab and Scilab interfaces provide convenient access for users. In this survey, we summarize the functionality contained in the three SLICOT toolboxes for (i) basic tasks in systems and control, (ii) system identi cation, and (iii) model reduction. S...

متن کامل

Niconet Newsletter 3 Basic Numerical Slicot Tools for Control 4 Slicot Tools for Model Reduction

1. Editorial 2 2. New developments in the SLICOT benchmark library 3 3. Basic numerical SLICOT tools for control 4 4. SLICOT tools for model reduction 8 5. SLICOT tools for subspace identiication 13 6. SLICOT tools for robust control 14 7. SLICOT tools for nonlinear systems in robotics 15 8. SLICOT controls microwaves a case study 18 9. SLICOT: a useful tool in industry? 24 Welcome to the third...

متن کامل

Contents 7 Model Reduction Software in the SLICOT Library 1

We describe the model reduction software developed recently for the control and systems library SLICOT. Besides a powerful collection of Fortran 77 routines implementing the last algorithmic developments for several well-known balancing related methods, we also describe model reduction tools developed to facilitate the usage of SLICOT routines in user friendly environments like Matlab or Scilab...

متن کامل

Evaluation of the linear matrix equation solvers in SLICOT

We discuss solvers for Sylvester, Lyapunov, and Stein equations that are available in the SLICOT Library (Subroutine Library In COntrol Theory). These solvers offer improved efficiency, reliability, and functionality compared to corresponding solvers in other computer-aided control system design packages. The performance of the SLICOT solvers is compared with the corresponding MATLAB solvers. T...

متن کامل

Slicot | a Subroutine Library in Systems and Control Theory 1 Slicot | a Subroutine Library in Systems and Control Theory

This article describes the subroutine library SLICOT that provides Fortran 77 implementations of numerical algorithms for computations in systems and control theory. Around a nucleus of basic numerical linear algebra subroutines, this library builds methods for the design and analysis of linear control systems. A brief history of the library is given together with a description of the current v...

متن کامل

The SLICOT Toolboxes for Matlab

SLICOT ist eine umfangreiche Softwarebibliothek zur numerischen Behandlung von Fragestellungen aus der Systemund Regelungstheorie, die mit dem Ziel entwickelt wurde, hohe Leistungsfähigkeit mit Robustheit, Verlässlichkeit, sowie Benutzerfreundlichkeit zu vereinen. Dies wird mittels einer Kombination von Fortran-Kernroutinen und Matlabbzw. Scilab-Schnittstellen erreicht. In dieser Übersicht soll...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999